package com.boxin.ims.modules.wechat.tmessage;

import java.util.ArrayList;
import java.util.List;

public class TemplateMessage {
	
	/**
	 * 签到提醒模板ID
	 */
	public final static String TEMPLATE_ID_QIAN_DAO_TI_XING = "qjBceQiqXzvnLwEjQ_30AUw4gNASCvgOiyiie8_gO58";
	
	/**
	 * 积分兑换模板ID
	 */
	public final static String TEMPLATE_ID_SCORE_EXCHANGE = "rUnwEEjnNlIF5eKgDKKLokZMetKPt1Z6OYSw7rirWNY";
	
	/** 兰色*/
	public final static String COLOR_BLUE = "#0baae4";
	/** 红色*/
	public final static String COLOR_RED = "#FF0000";
	/** 绿色*/
	public final static String COLOR_GREEN = "#009900";
	/** 黑色*/
	public final static String COLOR_BLACK = "#173177";
	
	private String openId;
	private String templateId;
	private String url;
	private String topcolor;
	private List<MessageNode> messageNodeList  = new ArrayList<MessageNode>();
	
	
	public TemplateMessage() {
		
	}
	
	public TemplateMessage(String openId,String templateId,String url,String topcolor) {
		this.openId = openId;
		this.templateId = templateId;
		this.url = url;
		this.topcolor = topcolor;
	}
	
	
	


	public String getOpenId() {
		return openId;
	}


	public void setOpenId(String openId) {
		this.openId = openId;
	}


	public String getTemplateId() {
		return templateId;
	}


	public void setTemplateId(String templateId) {
		this.templateId = templateId;
	}


	public String getUrl() {
		return url;
	}


	public void setUrl(String url) {
		this.url = url;
	}


	public String getTopcolor() {
		return topcolor;
	}


	public void setTopcolor(String topcolor) {
		this.topcolor = topcolor;
	}

	
	
	public void addMessageNode(MessageNode messageNode){
		this.messageNodeList.add(messageNode);
	}

	public List<MessageNode> getMessageNodeList() {
		return messageNodeList;
	}

	public void setMessageNodeList(List<MessageNode> messageNodeList) {
		this.messageNodeList = messageNodeList;
	}
		
	
	
	
	
	

}
